ui: implement toggling contrast_mode for logged in users [feat. @DrTom]

part of [#61132882]