added time-to-live for mongo documents