Worked in login/register page with current user in header