public String shareCalendar(String calendar, String username) {
		try {
			String[] fields = {"calendar"};
			crs = qb.selectFrom(fields, "calendars").where("calendar", "=", calendar).executeQuery();
			if(crs.next()) {
				String[] fieldsInsert = {"username", "calendar"};
				String[] values = {username, calendar};
				qb.insertInto("usercalendars", fieldsInsert).values(values).execute();
				return "Calendar shared";
			} else {
				return "Calendar does not exist";
			}
		} catch (SQLException e) {
			return "error";
		} finally {
			try {
				crs.close();
			} catch (SQLException e) {
				e.printStackTrace();
			}
		}
	}