Added missing curly brace after including API.php in createAccount.php