added js login