Loginscript created with PHP, jQuery, HTML and XML