add task name validation and edit view templates a little