fixes #11 by moving the avatar form stuff into the _form partial