modified controller file
added .gitignore