Added beef_server and beef_apikey in controller and template, to be used from JavaScript