Added login modal, javascript