disable login until while redirecting