check if id entered in url exists to display view, else display not found