creat session and join session