added email link on index, added change password. but error/success message not working