FIX code to use Login.scala