Authentication with Oauth - WIP

Offline app usage is bug identified, but in process.