Store XML strings as constants and add home_dir from uid function to utils