Moved user management code out of the project.