DRY up user.rb.

I think this should make it an A in Code Climate, if I'm not mistaken.