utils: add home dir interface