Function to get past officers and render in officers page