moved check for terms of use