mongo hookin, token creation, param parse