Implemented player class instead of user