Added call to server logout function
Logout server functionality