refactored the create controller for wagers