created a rest resource to get all user