Recoded into login_v3.pl

Re-organized the code, and re-did and added sections.
Now the major sections are all in subroutines making it easier to add,
remove, or edit sections.

Still waiting for the final proxy pac URL.