Updated SQL and controllers to recognize books that aren't in stock