remove unused code from matches_controller
fix bug when saving players in match_factory
use websockets to manage matches