Added client-side validation
Merge pull request #4 from CyberROFL/dev-common

Added client-side validation