Added optional urlfield in user profiles

`urlparse` is a standard python module, so it should be imported in its own block at the very top of the imports (i.e., before the django imports).