To completed the server of create square and group