added validation to posts. Each post title has to have minimum 5 characters