Added Logout serverside also