fixed error with searchBar.jsp and profile.jsp while logged in