Jshint compliance
Log in to start new game
Clarify game phases
Extract phase handlers
Discard #2