Updated Mongoose models and created submission functionality