remove conditional from pages.js, always pass user