Added method to get user name for user log output