Updated with before filter and changes to layout and game.erb