Fixed some heroku issues with profile and server.js file.