added visit model/controller/js and capturing page/ip