created view to make new appointment