private boolean testPin(String pin){
		java.sql.Statement state = DBConnection.OpenConnection();
		boolean pinExists = true;
		String query = String.format("SELECT * FROM `avalenti`.`Employees` WHERE PIN = %s", pin);
		if(state != null){
			try {
				ResultSet rs = state.executeQuery(query);
				if(rs.next() == false){
					pinExists = false;
				}
			} catch (SQLException exception) {
				System.err.println("Error in SQL Execution");
				}
		}
		else
			System.err.println("Statement was null.  No connection?");
		
		return pinExists;
		
	}