fixed home page and resolved minor bugs on each of the apis