add function modifiyStatus in task , and add autority to user