Refactored 'MainView'

Signed-off-by: Phillipp Ohl <phillippohl@gmail.com>
Implemented check to enforce sign-in

Signed-off-by: Phillipp Ohl <phillippohl@gmail.com>
Added events for TabSheet + logout procedure

Signed-off-by: Phillipp Ohl <phillippohl@gmail.com>