$\_SESSION[ 'user' ] = array(
        'userid' => $id,
        'username' => $username
    );