adding proper authorize template