Fixed CSRF protection Token method and added config.php file