fix redirection upon logout