use mitchellh/go-homedir instead of os/user
merge and cleanup