I mean that in a page I ask for the email in another I ask for the password and if these data are in the database send me to the main page of the user creating a session.
I am new in the back end and I managed to make the registration in the same way but I have not been able to create the login if someone could help me or give me ideas on how to do it I would be very grateful.