added NetworkDefines for login and upload, cleaned up NetworkDefines.h