adding search history page
added user authentication