Turned app into SPA. Added Register and Login pages.