Updates to getData.php

Added API to listen for getCurrentCategoryRequests. Fixing minor SQL
problems that still persist.