@SuppressWarnings("deprecation")
	public void validUserPass(){
		userObj.setUser(userTF.getText());
		userObj.setPassword(passwordTF.getText());
		if((userObj.getUser().isEmpty()) || (userObj.getPassword().isEmpty())){
			JOptionPane.showMessageDialog(null, "Invaild Username or Password");
			if(userObj.getPassword().isEmpty()){
				passwordTF.requestFocus();
			}
			if(userObj.getUser().isEmpty()){
				userTF.requestFocus();
			}
		}else{
			FileIO newUser = new FileIO();
			newUser.setNewUser(userObj);
			if(newUser.newUserCheck()){
				connectBTN.setEnabled(false);
				disconnectBTN.setEnabled(true);
				passwordTF.setVisible(false);
				passwordLBL.setVisible(false);
				btnPrivatePost.setEnabled(true);
				userLBL.setText("Signed is as:");
				loadUserProfile();
				lblEnterTextBelow.setText("Currently logged in as:  " + userObj.getUser());
				postitTF.setEditable(true);
				postitBTN.setEnabled(true);
				topicTF.setEditable(true);
				topicBTN.setEnabled(true);
				postitTF.requestFocus();
			}
		}
	}