added session_write_close as shutdown function to index.php
updated composer.lock