config/authentication.js fixed undefined req