change /logout route from get method to delete method