add delete post and date validation