connects to redis and mongodb, adds output for verification