Implemented visit insert, view and delete using JSON