redis connections implemented