changes for modal and change password functionality