Added messages to user when not logged in, as well as link to register page.
only detach message if forced
Merge pull request #14 from rgabrielsson/loggedoutFunctionality

Loggedout functionality
merged master