public function initialize() { parent::initialize(); $this->Auth->allow(['validateAccount', 'resendValidation']); }