Fixing bug in
Added page creation.