Code to save about info to databaes.