Update sidebar. Add logout link.