Implementando have no server e client