passing sleep score to index.php