Refactorize User's and Matches's controllers