magento Get current User Check if user is logged in


Example

Mage::getSingleton('customer/session')->isLoggedIn()