create route and action to add single repository