adding an online form to insert objects to db