public User(String username, Statement stmt) throws SQLException {
		this.stmt = stmt;
		theUsername = username;
		ResultSet rs = stmt.executeQuery("select id from users where username = '" + username + "'");
		rs.next();
		id = rs.getInt("id");
	}