updated to use https fitbit api