Added code to store and retrieve address details