Added privileges based on checkbox