add logging in book controller