adding validations.
Merge branch 'master' of https://github.com/akgoyal1987/onlineTally