Converted removePermission to use the new query function
Updating TODO.txt