added login support to example ui