add Task validation
update tasks#index
update client-side