redis, switched to redis store for session management. also fixed code to work locally