adds check to prevent sending multiple messages to the same user, fixes duplicate book check