protected function checkAccountInformation()
    {
        $errors = [];

        if (!Request::$post->get('username')) {
            $errors[] = "Username is required";
        }

        if (strlen(Request::$post->get('username')) < 3) {
            $errors[] = "Username must be at least 3 characters long";
        }

        if (!Request::$post->get('password')) {
            $errors[] = "Password is required";
        }

        if (strlen(Request::$post->get('password')) < 6) {
            $errors[] = "Password must be at least 6 characters long";
        }

        if (!Request::$post->get('email')) {
            $errors[] = "Email is required";
        }

        if (count($errors)) {
            $this->title("Admin Account");
            return $this->render("steps/account_information.phtml", [
                'errors' => $errors
            ]);
        }

        $_SESSION['admin'] = [
            'username'         => Request::$post->get('username'),
            'password'         => Request::$post->get('password'),
            'confirm_password' => Request::$post->get('password'),
            'email'            => Request::$post->get('email')
        ];
    }