Migrations for user/user_type reference swap, and add pictures to learning_pieces