added tasks to controller, added form to index