Varius update

Implement basic logout logic.
Corect logic used to download usrer info after login.
Added logic (with block) on SidebarController to switch contents on
MainSideViewController.