add default values to data; display an error when username/repo not found