Modified redirect method in admin panel. Modified redirect admin panel