President urges need for legislation to stop domestic violence