remove need for this, refactor getPage & ensureAuth