display last search location on home page but still have issue regarding undefined data