Fixed logout 404 issue