fixed error at index.scala.html not receiving the correct parameters.