improve user creation in postgresql (close #121)