moved session start to the model.php