scala based identity management (experimental)