@Override
	public void actionPerformed(ActionEvent e) {
		Object source = e.getSource();
		if (source == loginButton)
			controller.login(usernameText.getText(), passwordText.getText());
		else if (source == createUserButton)
			createUser();
	}