add some method to user model