Removing record_users function