MDL-44454 core_user: removed unused code from user/index.php