simplified contoller logic for creating duplicate repo