finish th e function of AddCategory, AddProject