migrate code to admin handler foloder