Added redis transaction functionality