Added reset password functionality 

Change this comment with description of associated function