fixed session problem and made board.php functional