public static ArrayList<ArrayList<String>> getuserlist(PrintStream os) throws SQLException
	{
		String sql="select FName,LName,GPA,UserID,Password from Table2";
		String sql2="select UserID from Table2"; 
		ArrayList<ArrayList<String>> feedback = new ArrayList<ArrayList<String>>();
		ArrayList<String> feed = null;
		ResultSet rs2=st.executeQuery(sql2);
		int count=0;
		while(rs2.next())
		{
			count++;
		}
		System.out.println("Sending the count of number of users "+count);
//		System.out.println("HERE");
		try {
			ResultSet rs = st.executeQuery(sql);
						
			
			os.println(count);

			ResultSetMetaData rsm = rs.getMetaData();
			feed = new ArrayList<String>();

			for(int y = 1;y<rsm.getColumnCount();y++){

				feed.add(rsm.getColumnName(y));
			}
			feedback.add(feed);
			

			while(rs.next()){
				feed = new ArrayList<String>();
				for(int i=1;i<=rsm.getColumnCount();i++){

					feed.add(rs.getString(i));
				}
				feedback.add(feed);
			}



		} catch (SQLException e) {
			//handler
			System.out.println(e);
		}
		return feedback;


	}