fixed creating new page
first version of delayed job, BUGGY
refactoring