move createJSONError to a lib's file
modify login route
update comment
add factory girl : update Gemfile and spec_helper
write specs about Player model
write specs for player routes