Added redis interaction