add user type to token api