Core logic update
Pre-release
Pre-release
Changes:
- prevented API request every time checkAuth is called from switching tabs
CheckAuth is only called when clicked on the extension icon in chrome. Every time a heartbeat is sent the status code from the response is checked to see if the user is logged out/logged in. And depending on that appropriate actions are taken.