adding an example
reworked server side validation, added expiration check
Merge remote-tracking branch 'origin/example' into mine
Merge remote-tracking branch 'origin/validation' into mine