Url_for in dash app instance

Ok, because I have something similar presented here:

In this I provided a way to login with Flask and then pass the user to the dash app, and then the logout goes back to regular Flask.

Other things to watch out for are making sure that Dash cant render unless the user is logged in.