Removed unnecessary require to mongoose in controller.