adding username password and mongoose options.