minor changes
integrated redis and added offline chat support