Simple edit to User.rb to organize the statements