init commit
fixed
Merge pull request #49 from daithi-coombes/api-con-user-tests

re-write api-con-user for phpunit tests