public static void main(String[] args) throws UnknownHostException {
        MongoClient client = new MongoClient(new ServerAddress("localhost", 27017));
        DB db = client.getDB("course");
        DBCollection user = db.getCollection("user");
        DBObject document = user.findOne();
        System.out.println(document);
    }