Switched to php, added chat