getting 500 error and add .gitignore