Fix current UI problems from transfer to CakePHP