add missing login js library to header, add missing div elements.