Fixed logout path to not display error