use getuserid instead of getusername