Logout path fix