Rewrite UserManager for simpler database schema.