shell: moves join and leave domain buttons

moved join and leave buttons to system information and removes unneeded page

Fixes: #868
This function needs to be indented correctly.