added login functionality, added splash screen.