mortgage and security agreement