fix logout routing