added the validation to the article file in the models directory.
created 2 new methods in the crontroller edit and update and then created a view for the edit page