Finish stuffs related to mail function
add index.php