declare methods in User.prototype instead of declaring them each time a user is created