set up weird MEAN-powered API for users