set user and group as parameters