added Player login logout apis & some fixes