Added API function to get a user's data for 1 day