page to automatically pass username and password

Hello All,
Patrik, many thanks for your program.

I've got a code that pass's 2 variables to the main page. How do i set them to be the username and password.