Fixed user management functions