Added login page and main view to app.