public Sign_Up(int width, int height) {
		this.setSize(width, height);
		this.setVisible(true);
		this.setTitle("Create an Account");
		this.setLayout(new FlowLayout());
		mainPanel = new JPanel();
		mainPanel.setSize(width, height);
		mainPanel.setLayout(new GridLayout(3, 2));
		this.add(mainPanel);
		promptUsername = new JLabel("Enter username between 4-10 characters");
		mainPanel.add(promptUsername);
		usernameField = new JTextField();
		mainPanel.add(usernameField);
		promptPassword = new JLabel("Enter password between 8-16 characters");
		mainPanel.add(promptPassword);
		passwordField = new JPasswordField(16);
		mainPanel.add(passwordField);
		promptConfirmPassword = new JLabel("Confirm password");
		mainPanel.add(promptConfirmPassword);
		confirmPasswordField = new JPasswordField(16);
		mainPanel.add(confirmPasswordField);
		submit = new JButton("Submit");
		this.add(submit);
		submit.addActionListener(new ActionListener() {

			/**
			 * Action Event after submit button is pressed, where
			 * the user will submit their username and password and
			 * recieve their profile.
			 * @param ae begins Action Event
			 */
			public void actionPerformed(ActionEvent ae) {
			   if(checkUsername(usernameField.getText())
			   		&& checkPassword(new String(passwordField.getPassword())
			   		, new String(confirmPasswordField.getPassword()))) {
				   File file = new File("Users.txt");
				   try {
						if (!file.exists()) {
							file.createNewFile();
						}
						FileWriter fw = new FileWriter(file.getAbsoluteFile(), true);
						BufferedWriter bw = new BufferedWriter(fw);
						bw.write(usernameField.getText());
						bw.write("\n");
						bw.write(new String(passwordField.getPassword()));
						bw.write("\n");
						bw.write("false");
						bw.write("\n\n");
						bw.close();
					}
				   catch (IOException e) {
					   System.out.println("Could not find user file");
				 }
				 int option = JOptionPane.showConfirmDialog(null, "Would you like to go to the main menu?"
				 											, "User Successfully Created", JOptionPane.YES_NO_OPTION);
				 if(option == JOptionPane.YES_OPTION) {
					User user = new User(usernameField.getText(), null, new Score());
					user.setHasSavedGame(false);
					MainMenu menu = new MainMenu(1000, 800, user);
					menu.setSize(1000, 800);
					menu.setVisible(true);
				    menu.setTitle("CSE360 Sudoku Main Menu");
					dispose();
				 }
				 else {
					dispose();
				 }
			   }
			}
		});
	}