added address member to pin, address support in mainactivity