Authentication for user controller.
Added phpunit to composer.json