fixed bugs so that it now calls users at the correct time