Login and LoginCheck now via XMLRPC
Changed some markup so it is easier to read and less code