MainView reacts to user logging in