Add built from scratch authentication system