Adding refresh endpoint
Using refresh endpoint