Fixed issue #1, Redirect to login indefinitely.