Created a create function on client for saving new book data.