changed handler into static in JoinGame.java and HostGame.java