Added check out books functionality