clean up some user.rb code
typo