Added error checking for entries. Going back to main menu for search engine works