Added logged in/out check.
Merge branch 'development' of github.com:aakb/odaa_dk into development