implemented splash and loginscreen