added cookie json to profile.js and added slim to .gitignore