Return M2 from the server and add check it in the client