changes in player api
fix rails server error
add authentication in api'