Login improved:
When not logged in you get redirected to the settings page.
Once logged in the app starts at the mainpage.

Log out button created