Fix issues with header file.

Fixed issues with the header file. Previously, it would not return
the correct links for the given account type.

Right now, a few links are missing, but they will be added soon.