Change MainView to logout and login with ConnectionView