get rid of mongo-dependent endpoints