Added routes for logout and client history