Added logout page instead of simply redirect on login.