removed duplicated login/logout buttons for narrow view
exclude current element from contextual search, fixes #259