refactored new action on wagers controller