add repositories controller