adding method to retrieve user data