Fixed weird code in user.rb