added a function to retrieve a user's data