fix reference fields, add user file reference view