Local and global solutions of the Navier-Stokes equation