Login Rework

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