Added Login, Publish and AutoSubscribe