got authentication working well