Add authentication
Tests