book/add frontend validation