authentication completed

successful auth --> content.php
failed auth --> index.php
creates session and outputs session var on content.php