added user_id to save.php