Logout redirection issue