changing param of auth_token to authToken from code