added db user functions