A Scala Based Identity Management System