Added beginnings of authentication