Refactoring - used blueprint for admin views.