Fixed Redirect Failures on invalid profile changes

#2
Add IDE files to .gitignore