updates and page adds for error handling and records not found