(*)add get home directory implementation