added user routes
first pass at learning center
persisting bets
calculating P&L
synchronise match events if user refreshes client during simulation
fixed linting errors