Added token creation and auth.