This class can be used to authenticate users without reloading a login page.
It can generate the HTML with Javascript that uses the jQuery library to present a login form that is submitted using an AJAX request for verifying the user password.
The class uses a separate database access class to perform a database query to the users database in order to verify whether the user and password are correct.