moved theme pages into database