fix migrations and userprofiles