basic flask stuff, input type is beer IDs