Handeling blog validation.