Displaying user name. Improved error handling.