Added date helpers and username functions to query Processor