check if the credentials is saved, if yes then do not save again, this causes duplication
check if the credentials is saved, if yes then do not save again, this causes duplication