Fixed undefined var errors on new profile form.

Fixes `undefined variable: user` on the `profile/create` page