sync with the main app before each action so we can auto login in if the user is already logged into the site.
Merge pull request #7 from LessonPlanet/js/auto-login

Sync session with main site