added functions to be implemented in api/index.php
Merge branch 'master' of https://github.com/elenavillamil/CollaborativeProject
fix error in index.php