added attributes to connect to mongo