query interface work, but mysql query is not working
finally there is ouput again and a download button
interface stuff