Extract method in user model