update authentication impl on client side