added some authentication