Moved function call for following users outside iteration of users from db.