reimplemented auth to use local instead of github