Added Login & Logout

- users can login and logout now
- removed uneccessary javascript
- moved the right part of the navbar to its own views
- added a getPassword query