added route, view, and action to view past appts

controller action not finished