public static boolean addActivityLog(String activityName, String userType,
			String userName) {
		createConnection();
		boolean b = false;

		try {
			Query addActivity = new addActivityLogQuery(activityName, userType,
					userName);
			addActivity.createQuery();

			if (connection.prepareStatement(addActivity.getQuery()).executeUpdate() == 1) {
				if (userType.equals("custodian")) {
					System.out.println("Custodian: " + userName + " "
							+ activityName);
				}
				else if (userType.equals("owner")) {
					System.out.println("Owner: " + userName + " "
							+ activityName);
				}
				
				b = true;
			}
			connection.close();
		} catch (SQLException sqlErr) {
			System.out.println(sqlErr);
		}
		return b;
	}