updated template to recognize USERNAME in path correctly