Added bogus home screen, refactored login code