changed way to add user into redis