Refactor UserProfile model.
Migrate UserProfile model.
Add `authentication` to `INSTALLED_APPS` setting.
Make sure `profile` is not `None` before accessing attributes.
Remove unnecessary comments.