create chat page and templates