The option to leave a unit should not be IMO at the bottom of the unit page. It looks like a “call to action “. Often logout options are put into a setting page or at the top right corner.