finish local auth and register