public boolean checkUsername(String username) {
		if(username.length() < 4 || username.length() > 10) {
			JOptionPane.showMessageDialog(null, "Username must be between 4 to 10 characters long", "Error", JOptionPane.ERROR_MESSAGE);
			return false;
		} else {
			if(alreadyInFile(username)) {
				return false;
			}
		}
		return true;
	}