Added CORS header to the controller. Added exclusion for /log/*.pid to .gitignore