Adding showInfoMethod
try...catch on connect