fixing syntax error in user.rb