Moved around the auth errors, added setters for key, appid and version