Moved isUserAuthorized from matchesController to securityHelper