added condition 'activate' for auth