Added $_SESSION["rate"]