changed connect-redis and template