switched application to MEAN stack