Fixed chmod for mac
Added Api route and controller
Added slim-json-api middleware to composer
Added api controller with auth routes