changed order of createPage parameters, added clearCookies pass-thru