showing search records on home page