Added initial views, login and register logic.