Please upgrade to 2.3 here.
The 2.2 and earlier branches are no longer being updated.
How to Find out username with ajax request?*
Therefore... any ideas on how to do it?