How to add welcome message to block in Drupal 7?
Use views module. Add new view >
Choose Users from the Show drop-down menu and tick on Create a block.
Configure contextual filter by choosing Provide default value with type User ID from logged in user.
Then configure the other fields as per your needs to include whatever text or user profile fields you wish.
Then save the block and add it to a region.