Are you looking to use Client-Side VB Scripting to modify the DOM after the page renders or to modify what the HTML is that is sent to the browser?
You may have a DIV that shows the user's name which you have in a session variable, or the text "Please log in":
<% If Session("Name") <> "" Then %>
<% Else %>
Please Log In
<% End If %>