Removed code from User model that doesn't belong there

Doesn't belong to User model