Added part of reset password functionality