Add authentication machinery
Finish sign in