can create groups. refactored post data handling