split up user ids logic from settings