added splash screen
put login logic into navbar
added automatic user login/logout in navbar