Fixed network issues for joining games. TODO: fix users not able to login on same session after logging out.