// use %40 for @ mongoClient.connect("mongodb://username:p%40ssword@host:port/dbname?authSource=admin");