created application controller and now search doesn't show up when on main page