private void createView() {
		JLabel usernameLabel = new JLabel("Username: ");
		getContentPane().add(usernameLabel);
		
		usernameText = new JTextField(8);
		getContentPane().add(usernameText);
		
		JLabel passwordLabel = new JLabel("Password: ");
		getContentPane().add(passwordLabel);
		
		passwordText = new JTextField(8);
		getContentPane().add(passwordText);
		
		// Invisible unless user creates new password
		passwordVerifyLabel = new JLabel("Verify password: ");
		passwordVerifyLabel.setVisible(false);
		getContentPane().add(passwordVerifyLabel);
		
		passwordVerifyText = new JTextField(8);
		passwordVerifyText.setVisible(false);
		getContentPane().add(passwordVerifyText);
		
		loginButton = new JButton("Login");
		getContentPane().add(loginButton);
		loginButton.addActionListener(this);
		
		createUserButton = new JButton("Create user");
		getContentPane().add(createUserButton);
		createUserButton.addActionListener(this);
	}