added a way to return public pages