added gridfs authentication