How to add Welcome message on site
To show welcome message in Drupal we can identify whether user is logged in or not using simple code snippet below. You can write this code in either block or custom module which adds block or create a variable in template.php to use in a template: