Handle creating and updating user profiles.

GET /api/userprofile/642/?format=api