model and controler for visits created