LoginPage is now layout aware