Fixed some faults, still have the authentication error