corrected users controller