private boolean checkUser(String user, String pass){
		
		/**
		 *     - FOR TAM -
		 * Database Requirements
		 * 
		 * 
		 * CHECK IF USERNAME AND PASSWORD ENTERED ARE CORRECT.
		 * ALSO, NEED TO GENERATE A RANDOM SESSION ID TO COUNTER MULTIPLE LOGINS.
		 * 
		 * Example is kinda shown below.
		 * 
		 * If the login details are correct, game state will switch to PLAYER SELECT screen.
		 * If the login details are correct, RETURN UNIQUE USER ID. 
		 * 
		 */
		
		String sessionId = "random_string_based_off_username_and_system_time.";
		
		String line = null;
		try {
			URL url = new URL("http://www.games.giftedpineapples.com/ptd/get.php?u=" + user + "&p=" + pass + "&s=" + sessionId);
			URLConnection connection = url.openConnection();
			connection.connect();
			
			BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
			line = in.readLine();
		} catch (MalformedURLException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
		System.out.println(line);
		if(line.equalsIgnoreCase("yes")) return true;
		return false;
	}