public int connect() {
		System.out.println("Connecting to the database...");
		int errorCode = 0;
		// load MySQL driver
		 // --- 1) get the Class object for the driver 
		   try
		   {
			  Class.forName ("com.mysql.jdbc.Driver");
			  System.out.println("Found/loaded MySQL Connector JDBC driver");	   
		   }
		   catch (ClassNotFoundException e)
		   {
			  System.out.println ("Could not get class object for Driver");
			  System.out.println(e.getMessage());
			  System.exit(1);
		   }

		   // create connection to MySQL database
		   // --- 2) connect to database
		   conn = null;
		   try
		   {
			  System.out.println("Connected to DB");
			  conn = DriverManager.getConnection("jdbc:mysql://dario.cs.uwec.edu/cs355group11",user,pass);
		   }
		   catch (SQLException sqle)
		   {
			  errorLogs.getErrorMsgs().add("DATABASE ERROR: Could not make connection to database");
			  System.out.println ("DATABASE ERROR: Could not make connection to database");
			  System.out.println(sqle.getMessage());
			  errorCode = 1;
			 // System.exit(1);
		   }
		   return errorCode;
	}