concept authentication form in category ext js

This is an excerpt from Manning's book Ext JS in Action, Second Edition.
Before you start building a codebase, spend a few moments thinking about what you want to achieve. Going back to your application requirements, you’ll recall that only registered users can access Survey. This means you should offer a registration form. Because the authenticated users will likely sign out at a certain point in time, choose the card layout type for the viewport so that transition from the authentication form and back is faster. The following listing shows how to create your viewpoint (this is only a stub).
The landing page of the Survey application is the authorization form. The goal is to have users enter their credentials and allow them through to survey selection. The viewport is a card layout container, so you can place the authentication form (see figure 14.9) as the first child of the view. Once the user is successfully signed in, the viewport will switch to the second card, the survey list.