Got private to work and update database

Can you take a look at this and make sure I did it correct, now if checked the wiki is flagged private and does not show up if you are logged in without premium role and if you are then you can see the private ones.