Search function for the address page