don't load the login page twice anymore