update auction view logic with 'item not sold' message and clean up indentation