added redis support for storing session on server's side