removing flat pages
moving methods to admin