fixed syntax error in user.rb model