What is the best or prefered way to design an App where the first page is a login screen.
I am asking this because using the “/” page as a login screen is not so clean. because than everyone who is logged in has to be redirected to the “/start” page which imo deosnt work always. especiall if you are using pushstates. Pages with require a login has to redirect aswell which is in some cases buggy aswell and lets the vistor through and view the page which he is not allowed to visit without login.
The templates which are online are designed with a secondary login page (you access almost all content without login)
So my question is just how should the router or app be designed to have the login screen initially but only if the user is not logged in?