added the form
added the form
added function in controller