Enable language support

Enable language support on PHP Login Script, other changes will be made on index.php.