Implemented lost page and general improvements