Add realm selection to connection part