Add logout route to fix errors