refactored user to player
added chat
fixed nvars