Added get_main_address function
LILY-261 & LILY-257: Improve account and contact detail views