Add functionality to pass window height and width on login.