successfully save data to db and also getting back data