updated the db schema to store initial player change
fixed all the minor bugs inthe API's