Move login check from handle() to prepare()
Keep up with upstream changes

Get groups from notice differently
Use isset() instead of is_array()

Gets rid of 'Undefined' index in the logs.
Those things should always be arrays anyway.
Check for correct class on fetched data

class="ajaxed" -> class="sa-ajaxed"