User plugin fixes bnc#790161

PUT and POST methods for REST api