set up redis as session storage to avoid memory leaks