Rewrote Main.scala.html to fix testing errors.