- $authbool and $sessiondelete added
- authentication improved