Added the code as it was at the end of the hackathon (with usernames/passwords removed in api.php)
Merge branch 'master' of https://github.com/875/875