Added query support to dashboard.jsp and admin.jsp tables