added logout to routes