changed to use mongo and redis service