Added password restore feature