add methods to User model