[WIP] a common user framework for Rails