Checking if user and group exist before creating them