fixed issues with api calls in index.php
Merge branch 'master' of https://github.com/aryamccarthy/Bookup