Added funtion to get user's name