implemented session creation interacting with redis