added middleware in config/http.js  for passport