Prepare for further improvement, add logout button, add tox, add message...

... on login and more 
To make frigg testable by frigg