After a while, the query to search for users in the user manager takes longer and longer and eventually stops returning. It needs to be optimized so it scales.