Add authentication for actions controller and add rules for gitignore