The class supports user authentication, login and logout, persisting the
session data and initializing the user object from a database row. It
functions as abstract parent class for the "BackendUser" and "FrontendUser"
classes of the core.
Usage:
$user = BackendUser::getInstance();
if ($user->findBy('username', 'leo'))
{
echo $user->name;
}