refactor of Chat to Http ready!