whew added username parameter in querying tasks