added chat_controller, fixed urls, views, etc.