fixed the join-session so it is now through ajax