added a render function to EntryForm view
connected to models to backend