added validation and modifield the view NotFound