updated to use https fitbit api

i haven't extensively tested this, but i believe it to be working