public ResultSet getUserData (String user) {
        // SELECT count(*) as userCount FROM `users` WHERE `user` = '" + user + "'
        ResultSet rs = null;
        try {
            Statement statement = conn.createStatement();
            // select the number of rows in the table
            rs = statement.executeQuery("SELECT title, wizard, env_room FROM `users` WHERE `user` = '" + user + "'");
            // get the number of rows from the result set
            if (rs.next())
            {
                //statement.close();
                return rs;
            }
        } catch (SQLException e) {
            System.err.println("MySQL Error: " + e.toString());
        }
        return null;
    }