Fixed loop problem at login and get event participants