fix compilation error in login menu partial