has been tested and works fine
user, deploy, permissions fixes