initial login-check