Use user home directories

Replace hard-coded '/home/' and '/root/' with `~username` shorthand.