add basic authentication for books