in your while Loop you will need to check the info you entered in your GUI
$usernameinput = GUICtrlRead($usernameinput)
$passwordinput = GUICtrlRead($passwordinput)
And after you use send
Send($passwordinput)
But to fill a form .. I Don't know yet how to do that, i use the mousmove function to click at the right place and they type what i need...