Added the token to the identity and some test API calls