Current user name in Magento?

It is very simple.

$username=$this->__(‘Welcome, %s!’, Mage::getSingleton(‘customer/session’)->getCustomer()->getName());
echo $username;

Hope it will work.