fix validation for User.
Merge pull request #10 from popkirby/user_spec_fix

fix validation for User.
Refactor contest2nd
Refactor master_game
Enable showing master result
Fix text
Fix comment out bug
Add test for pages_controller