# TODO > Completed tasks moved to [DONE](./DONE.md). Remaining tasks in [BACKLOG](./BACKLOG.md). ## Chat sidebar - [x] remove search bar from chat sidebar (not needed for single-room) - [x] remove "user" toggle button from chat sidebar (hide for now, add back when user interface is stable) - [x] make login/registration form a modal and only toggle it when user is not logged in and clicks "Login" or "Register" - [x] when user is logged in, do not show login/registration form - [x] make sure each message is only rendered once in the chat log (no duplicates on reconnect or initial load) ### Plan Files: `frontend/index.html`, `frontend/src/main.ts`, `frontend/src/style.css`. 1. **Remove search bar** (single-room) - `index.html`: delete the `
` block. - `main.ts`: remove `searchDM()` and the `dm-search-btn` listener; drop the `#dm-search-row` show/hide logic in `switchRoom()` (the `searchRow.hidden = !isDM` lines). Keep `currentDMTarget` only if the "New DM" flow stays. 2. **Remove "Users" toggle button** - `index.html`: delete the `