added joinCall function and handler for token creation