Add login manager function to ensure
1.The server receives the username and password.
The credentials are checked against stored records.
Success: If they match, the user is authenticated and redirected to the application.
Failure: If they don't match, an error message is shown.
A session or token is created for the authenticated user to maintain their state across subsequent requests.
2.modify login page route
Add login manager function to ensure 1.The server receives the username and password. The credentials are checked against stored records. Success: If they match, the user is authenticated and redirected to the application. Failure: If they don't match, an error message is shown. A session or token is created for the authenticated user to maintain their state across subsequent requests. 2.modify login page route