agregando controller api