To create a form and obtaining data from database on request