Implemented save book method