small syntax change to user.rb