add book code is implemented, too sleepy to figure out if it works