SDK is almost done, retrieves user payload now using authcode, started refactoring and finishing up