So I have tested a bit of code that allows me to store login and password information and use it later on to login.
See Code below
Func LoginInfo()
Local $User, $Password
Local $btn, $msg
Global $Usr, $Pwd
GUICreate(" User Name and Password for ESQ", 320, 120, @DesktopWidth / 2 - 160, @DesktopHeight / 2 - 45, -1)
$User = GUICtrlCreateInput("", 10, 5, 300, 20)
$Password = GUICtrlCreateInput("", 10, 35, 300, 20,0x0020)
$btn = GUICtrlCreateButton("Ok", 40, 75, 60, 20)
GUISet