cleanedup some code to represent it as contact list page