implement create new task in the index view