Corrected issue with interface and made it use the credentials gained from prefs