applied patch
use bc user entity
uid 0 special handling.
add revision methods
fix typo