connected fitbit and connect to wp json api