changes in printCredential action controller