Determine which surface is shown after login or logout.