create the following function for the Modules model: - create - update - read - remove use `user.js` for reference