Fix sponsored badges, and added a simple ad targeting report tool 

Is logging and authlogging actually used?