I currently have this login form in my python program with a submit button:

      <input type="text" class="input-small" placeholder="Email">
      <input type="password" class="input-small" placeholder="Password">

and I have an sql database that has emails/logins/etc. How do I make it so the after pushing the submit button, the email/password is verified with the database and logs in?