Added Form validation, edit and destroy posts