Added error displaying and search bar