validate user when edit or delete a thread or a post,update breadscrumbs