added form rendering based on Mongoose schemas