Page classnames were the other way round

MainPage component should have a 'MainPage' CSS class, but it had a 'UserPage' class instead.