Fixed annoying flash when already logged in