Reimplemented user service using REST