added a generic getter for user data