added permissions checks so that the notices arent displayed if current user isnt an admin/super admin