restructured so post is on client, store is sent with rmi