updated visitors controller to format dates using momentjs