$oForm1->makePassword("password", "Password", "clearBoth");
$oForm1->makeSubmit("signIn", "Sign-In", "blueButton2 bgBlue marginBottom10");
// sign up form
$oForm2 = new Form();
if (isset($_POST["create"])) {
    $oForm2->data = $_POST;
    // form validation:
    $oForm2->checkFilled("firstName");
    $oForm2->checkFilled("lastName");
    $oForm2->checkFilled("username");
    $oForm2->checkFilled("email");
    $oForm2->checkFilled("address");
    $oForm2->checkFilled("telephone");
    $oForm2->checkFilled("password");
    $oForm2->checkFilled("confirmPassword");
    $oForm2->compare("password", "confirmPassword");
    $oTestCustomer = new User();
    // testing if username exists in database
    $bLoad = $oTestCustomer->loadByUsername($_POST["username"]);
    // what username is posted
    if ($bLoad == true) {
        $oForm2->raiseCustomError("username", "* this username already exists");
        // calls raiseCustomError message
    }
    if ($oForm2->valid == true) {
        //no errors, therefore creates new user in system:
        $oCustomer = new User();
        $oCustomer->firstName = $_POST["firstName"];
        $oCustomer->lastName = $_POST["lastName"];
        $oCustomer->username = $_POST["username"];
        $oCustomer->email = $_POST["email"];