Added ui functions for otr authentication