Updated JS tab system, attached login