corrected resetprofiles, working on rest password functionality