add method for getting user info