refactor join event page and add redirectUrl session attribute