The api exposed by the just login server