Add some methods for user service.