added router and started history
added loginView and loginController and stubbed out tests