added role_type migration and changed player.js