Adding a form in index and working on CRUD functionality