handle head request along with get at root of app