Cannot GET /logout/undefined