Added working functionality for oauth, need to store the auth for the session handling