Updated LoginPanel and the implementation of IConnectionHandler.