Added validation to verify superuser in mod
function verify_superpriv modified to adhere to coding conventions, also added validation to verify superuser in handle functions.