Added custom roles check and user 1 check.