I'm trying to create a login page with username and password which are already saved in my own data collection. All I need to know is, when the user inputs their correct credentials (username and password according to the data present in the data collection) he/she must be successfully login into their own profile.
1. How does the user inputs match with the data in the data collection?
2. Could you help me with the code to make the above issue work?