move joinup logic to rainbow controller