web service call on logout and refresh