Making the code more secure

$start_timestamp and $end_timestamp have been updated
Trying to make $controller more secure

$controller needs to be more secure.. I am unaware what it is taking in,
so esc_html may be incorrect for it.