done with big part of visits model, some controller methods and views