added user authenthication