How a happy school can help students succeed