Adding setAdminAlert and removeAdminAlert functions