Currently a big mess but finally managed to connect to FitBit with OAuth