fixed issues with express-server and re-added the authentication.