Added Code for splash screen and login screen.