It is very common to have a login page for an application, which we can use to control access to the system by identifying and authenticating the user through the credentials presented by him/her. Once the user is logged in, we can track the actions performed by the user. We can also restrain access of some features and screens of the system that we do not want a particular user or even a specific group of users to have access to.
In this chapter, we will cover:
Creating the login page
Handling the login page on the server
Adding the Caps Lock warning message in the Password field
Submitting the form by pressing the Enter key
Encrypting the password before sending to the server