code tweaks in users and utils apis