enable public api routes