Fixed session default locale, it now checks user's default language.
Changed isLoggedIn to static method.
Merge pull request #29 from ojalehto/fix/default-language-for-logged-in-user

Fixed session default locale, it now checks user's default language.