Updated views for authorization'now it works', created base for main paige