added task validation rules; broke edit and delete