Improved make function
Added comments, fixing the getAccessToken, not yet fixed
Added OAuth to register method