Cleaning up leftover code in template
Adding AJAX inline editable nickname

And adapting to changed API