Added client and server permission enforcement for search counts
Removing some logging
Fixed issues with some pages allowing program creation without proper permissions