removes mongo connection for now and removes modals from medications