 
     onDidChangeChannel : (listener) ->
         @on "did-change-channel", listener
+
+    onDidLogin : (listener) ->
+        @on "did-login", listener

                    @_session = session
                    @_saveSession()

                    app.command.dispatch "channel:reset-session", session
                    callback()

                .catch (e) =>

                @_session?.relogin()
                .then =>
                    console.info "%cRelogin successful.", Colors.text.info
                    @emit "did-login", @_session
                    app.command.dispatch "channel:reset-session", @_session
                    return

