You can use Session object to store your login name. I wouldn't put it in querystring as that enables others to send your second form usernames directly without passing through validation login.
Example: Klien/frmForm2.aspx?userID=12 <-- this is guesswork, but one can try several tries until one passes.
You're setting that in this line:
Session("strLoginID") = Me.txtUserId.Text
Now just use it in your Form2 like :
txtUserId.Text = Session("strLoginID").ToString();
There is a problem with your code. You're not sending password to be validated along with username...your password validation assumes there will be only one username returned for password to be validated. Why not send both username and password in the query?