Rework sidebar
Moved operations from js to css
Added modal dialog for login