A much easier approach is to copy paste the <FORM>...</FORM> of the login source on your site and make small minor adjustments to images, and the action location of the form if need be, and paste it into a static page and just call it via pages.php?pageid=1 or such.
But this looks groovy