Added getUsernameFromHostname