using beer module (service) in controller and view