used @HeaderParam to get uid