Added authentication class. Not tested. Not functional yet.