public page with login button
Hi all,
I've created an custom authentication scheme in my application that is working fine (when I navigate to the login page and submit my username and password, I then see a text 'Welcome TDUIN (logout)' on the upper right of a page). When I navigate to a public page when not logged in, on that place there's a text 'logout'. Is there a possibility to change that to a text 'login' on a public avalable page with a link to the login page and then, being logged in, it states 'Welcome TDUIN (logout)'?
I tried to search for how to do it on the forum, but can't find how to do it. Can anybody help me? I'm on Apex 4.0.2.