changed authentiation controler