revising connection handling and auth codes