retrieve home directory from the enviroment variable.