login page doesnt pop up if user already logged in