add controllers functionalities

tabs and buttons are now highlighted when active
loading user data from the server on reload
consistent use of user preferences when logged in
tree view completed with multiple remote sites
fix table-view after introducing remote sites data