remove hardcoded page name and use key passed in route