Added an emitter when authentication goes through