cookie hash and removed functions

added a hash string to cookieParser and removed functions associated
with passport.js