requested changes to mongoose_im_controller.ex