Using Scala, playframework to pass the task 3