I am using express as my middleware and have the browser URL as http://sampleDomain/AUTH/login and after successful login I would like to show the URL as http://sampleDomain/
app.use('/AUTH',authHelper)
app.use('/*',helper)
initially if User not logged in then map to authHelper and once if the credentials entered by user are valid then I need to change the browser URL from http://sampleDomain/AUTH/login to http://sampleDomain/ so that app.use('/*',helper) can be used.