added first functionality to attend button
fixing conflicts