When you have setup the authentication mechanism, you should be able to access the credentials in callbacks. You can then return different content depending on e.g. the username.
Okay I see, so I can have connection to the same database and have similar plots but device what gets shown or what data gets pulled will depend on the username and password that is received in the call back.
I will do some more reading with callbacks and authentication.