done reg and auth