Add data retrieval function to fitbit