change userprofile foreign keys to user foreign keys all over the place, and change templates accordingly