updated matching player2 and match in dbi and server
added boolean conditionals in updating match
adding modified control_panel