fix spelling mistakes
add gitignore and ignore PhpStorm files
add nonce verification