Created my own oAuth class to better handle errors logging in.
Save access token to avoid relogging in.
Move login panel stuff to its own class.