updated page title and error handling