add chat layout, add chat to backend, add documentation for layouts