- provide JS api to eject user