added user check if he is allowed to edit a host