Update header after ajax login/register