updated getuser to include arg check