moved credtials from config to credential store