Created plugin for form validation with SnakePHP