added rematch and logout buttons