code need to be refactored, joinEvent - need to add check "have this user already register for event", registerUser - don't work