Use $HOME instead of path with hardcoded username

There might be other places where hardcoded usernames in paths could be replaced.