completed "add task" implementation which includes handling loading data into the view table