Added code to save member info in DB