edit authentication implementation