Cleaned up some SQL and JSP stuff

the jsp file queries.jsp has String objects of queries we will need