wrapping user.leaveRoom in case user doesn't exist