public void connected(final Connection connection){
			System.out.println("Recieved Connection " + connection.getID());
			
			if(!client_connected && conID == 0 && !waitingOnPassword){
				
				//client_connected = true;
				//conID = connection.getID();
				
				if(psw_enable && !password.equals("")){
					// store the connection ID and await password a password responce
					waitingOnPassword = true;
					//start timer
					connectionTimer = new Timer();
					connectionTimer.schedule(new TimerTask(){

						@Override
						public void run() {
							// TIMES UP, REJECT AND CLOSE CONNECTION!
							ServerMsg msg = new ServerMsg();
							msg.connectionAccepted = false;
							msg.incorrectPassword = false;
							connection.sendTCP(msg);
							connection.close();
														
							System.out.println("Connection attempt failed (No Password Supplied)");
							waitingOnPassword = false;
							
							client_connected = false;
							conID = 0;
						}
						
					}, PASSWORD_TIMEOUT);
				} else {
					waitingOnPassword = false;
					acceptConnection(connection);
				}
				
				
			} else {
				System.out.println("Connection attempt failed (Connection in use)");
				connection.close();
			}
		}