refactored the proposed wagers controller