changed contact has_many addresses to has_one