added functioning logout route.