on Register, connect user