added some methods for user