fix undefined index

fix notice undefined index username on line 308 of index.php. Added
isset check.