Added create new entry function for visits