added logger support for integral types, added passwd check for UID