Adding User object and Global.scala