Changing installations return and adding error model and endpoint

@vlad902