added the disabling of actions when it is not your turn