Added statusbar informations to connect-function