Fixes;Logging

Logging now inserts the category with population=1. Also the system kept
recommending the categories you are subscribed to