CakePHP modified by Thaissa Mendes