handle the newbook page