created new method on User model