more work on adding/removing users from tasks; better implementation of json for php api