Added redis and changed session stuff a bit