complete get/post methods; added modalities