Updated address controller to store address locally