refactored auctions controller