added self authenticate