Authentication Authorization ASP.Net Tutorial

<%@ Page Language="VB" %>

   sub Login(Sender as Object, e as EventArgs)
      if tbUserName.Text = "user" and _
         tbPassword.Text = "pass" then
         FormsAuthentication.SetAuthCookie(tbUserName.Text, false)
         Response.redirect("http://www.rntsoft.com")
      else
         lblMessage.Text = "Sorry, " & _
            "invalid username or password!"
      end if
   end sub


   Please enter your username and password.
   
      
      Username:
      

      Password:
               runat="server" />
               OnClick="Login"
         Text="Submit" />