Changed in order to make it double as a add beer view
Changed the .length check in exporta.query in order to redirect empty result sets to the beer view
Merge
Fixed some errors when checking for undefined parameters
Changed in order to enable update/insert
Jade and not EJS