- `ChatHeader.razor` currently takes care of both UI elements and UI logic. - `ChatHeader.razor` should only look after the UI elements. - The UI logic should be separated to `ChatHeader.razor.cs`.