focus on search bar on page load and change database yml to postgres