Improved User Handling

Root user and ERP user does function smoothly without braking shell
script and/or overall commands