added getuserbyid function
implemented the getuserbyid service call