working on hooking up authentication with page filtering