timeout and session/async issue...still need to fix index.php