deleted and modified some files in API and Activity controllers