Remove procedure code that checks out a book. Add css to show checked out books as red and available books as green. Add logic to the template to put a return book button if the book is checkout and the original check out button if it is available. Add a return book jQuery function to handle the different button.