Use redis to store userdata instead of localStorage API.