saving settings RESTful