retrieving data from fitbit api