add proper validations to cookbook
Merge pull request #1 from undeadlabs/validations

add proper validations to cookbook