Fixed logout path bug