added call to retrieve token for testing. requires login