I have the following code:
Auth->user()) { echo $this->element(\'header\'); } else { e
As of CakePHP 2.x:
Logged in as = AuthComponent::user('name') ?>