public void Receive() throws ClassNotFoundException, IOException
	{
		System.out.println("Entered Recieve");
		if (input.hasNext())
		{
			System.out.println("Input got more to recieve");
			String message = input.nextLine();
			System.out.println("Message: " + message);
			String option = message.substring(0, 3);
			
			if (option.equals("#?!"))
			{
				System.out.println("Unique User");
				String temp = message.substring(3);
				System.out.println("");
				
				System.out.println(temp);
				
				String[] current = temp.split(",");
				
				for (int i = 0; i < current.length; i++)
				{
					current[i] = current[i].trim();
				}
				
				ClientGUI.onlineUsers.setListData(current);
			}
			else if (option.equals("%^&"))
			{
				loginWindowRE = new JFrame();
				userNameBoxFieldRE = new JTextField(20);
				enterButtonRE = new JButton("Enter");
				enterUserNameLabelRE = new JLabel("Enter username: ");
				loginPaneRE = new JPanel();

				JOptionPane.showMessageDialog(null, "Username taken, please input a unique username.");
				loginWindowRE.setTitle("Username taken.");
				loginWindowRE.setSize(400, 100);
				loginPaneRE = new JPanel();
				loginPaneRE.add(enterUserNameLabelRE);
				userNameBoxFieldRE.setText("");
				loginPaneRE.add(userNameBoxFieldRE);
				loginPaneRE.add(enterButtonRE);
				loginWindowRE.add(loginPaneRE);
				System.out.println("stared RElogin action");
				RELoginAction();
				loginWindowRE.setVisible(true);
			}
			else
			{
				ClientGUI.chatArea.append(message + "\n");
			}
		}
	}