Added getTerms method to return all the terms that the user has taught into the ClassDAO
Added the JSONArray from the getTerms method into a JSONObject to be passed to the home page