fix return to current route when route is logout