can now recognize whether a page is new or already exists