Implementing authentication in admin part 2