added some more authentication