Authentication working

About to start on the authorization tutorial.