Convert \(f\left( x \right) = x^2 - 2x - 3\) to vertex form by completing the square.