add libs and monitoring network before login