Adds the authenticate with token method to handle access to actions