Login Rework

## Description
Add backbone router & history support for the login page. Added login dialogs as well.

### Testing Considerations
* [ ] Make sure login is working
* [ ] Check all dialogs are working