Add authentication controller, fix composer dependencies