added in logout rest call