Trying to automate a web site login is hit or miss as many sites protect themselves against this very thing. Some sites change their login pages periodically to keep this from happening, Some allow auto login though your browser.
One of their fears is a bot attack.
We do not offer help for certain topics layed out in our Posting Guidelines
Burn the land and boil the sea
You can't take the sky from me