I am trying to implement login functionality. I am using form in my login.html and when user click on button it should check if fields are not empty and then use php to check if user exist in database. I have added reference to main.jsI am trying to implement login functionality. I