Migrate user profile page to the new database schema.