command_result functions optimized.
Improved error handling at datashield login.
Code cleaning