now restricting access to pages