How to have admin login before welcome page?

I’ve searched through the posts here and can’t find an answer. I’ve implemented security on the server so you have to log in as an admin through prosody to create a room and to have password capability on rooms but what I would like to do is add a login before you get to the standard welcome page.

I figure we are going to get some people going straight to rather than and would like to save some confusion of them trying to create a new room when one is already created.

Is there a way to implement the authentication immediately when someone goes to the welcome page?

hope that made sense…

A simple possibility is to create a login page with normal html and PHP.
But hat would mean that the users names and passwords need to be created again and are not necessarily the same as the prosody users.

How it’s done in html is shown here: