add authenticate to admin