Added views, logging in and out now works