Moved the validation process inside _processRequest