public ArrayList<QuizHistory> getRecentlyTakenQuizzes() throws SQLException {
		ResultSet rs = stmt.executeQuery("select * from quiz_history inner join quizzes " +
				"on quiz_history.quiz_id=quizzes.id  where user_id = " + id + " order by taken_on desc");
		
		ArrayList<QuizHistory> recentlyTakenQuizzes = new ArrayList<QuizHistory>();
		while(rs.next()) {
			QuizHistory currHistory = new QuizHistory(rs.getInt("score"), rs.getTime("time"), theUsername, rs.getTimestamp("taken_on"), id, rs.getString("title"), rs.getInt("quiz_id"));
			recentlyTakenQuizzes.add(currHistory);
		}
		return recentlyTakenQuizzes;
	}