Get input from form:
Username field:
Password field:

Validate using connection:
Table:
Username column:
Password column:

If login succeeds, go to:
  Go to previous URL (if it exists)
If login fails, go to:

Restrict access based on: Username and password
  Username, password, and access level
  Get level from: