Initial work on auth.