Added an authenticate with token method