Refactoring para remover do routes.php business logic