All lib/Users code upgraded to model.User and SQLAlchemy