logout path correction