emtting joingame event
save user object after login so it is available in the session