additional changes for the admin authentication