Let $X_1,X_2,\ldots,X_n$ be a random sample from a $\operatorname{Poisson}(\theta)$ distribution with probability function $$ P(X = x) = \frac {\theta^xe^{-\theta}}{x!} $$
Show that $\hat \theta$ is the minimum variance unbiased estimator of $\theta$ i.e. that is unbiased and attains the Cramer–Rao bound.
My attempt:
Showing that $\hat \theta$ is unbiased is easy; $$ E[\hat \theta] = \theta $$ $$ \hat \theta = \bar X $$ $$\operatorname E[\bar X] = \operatorname E\left[ \frac{1}{n} \sum_{i=1}^n X_i \right] = \frac{1}{n} E\left[\sum_{i=1}^n X_i\right] = \frac{1}{n}n\theta = \theta $$
Now to show that the variance attains the Cramer-Rao Bound is what I'm having trouble with.
$$\operatorname{Var}(\hat \theta) = \frac{1}{E[(\frac{d\ell(\theta)}{d\theta})^2]} $$ $$\operatorname{Var}(\hat \theta) = \frac{1}{E[(\frac{\sum_{i=0}^n(x_i)}{\theta} - n)^2]} $$
And now I'm not sure how to expand this further. Is the square of a sum just itself?