fixes #23
fix changes mention in pull request for issue #23
Merge pull request #69 from chetandhembre/master

Added exercise to validate request using joi object