My goal is to create an application where services can only be accessed by those with certain permissions, much akin to ArcGIS Online web-maps, however I would like it so that when a user pings the URL where the map services is being consumed, that a log-in box appears that references ArcGIS Server?